package pl.edu.agh.mwo.ui.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.Action;
import javax.swing.JOptionPane;

public class AboutAction extends AbstractAction {

	private static final long serialVersionUID = -2206397237479809080L;


	public AboutAction() {
		putValue(NAME, "About");
		putValue(SHORT_DESCRIPTION, "Shows about dialog");
		putValue(Action.MNEMONIC_KEY, new Integer('A'));
	}
	
	
	@Override
	public void actionPerformed(ActionEvent event) {
		JOptionPane.showMessageDialog(null,
			    "This a sample project which demonstrates Swing technology and Windows Builder Pro toolkit.");

	}

}
